package titt.io.socket;

import titt.io.reader.head.HeadReader;
import titt.io.socket.in.TITTInputStream;
import titt.io.socket.out.TITTOutputStream;
import titt.io.writer.head.HeadWriter;

public interface TITTSocket {
	HeadWriter getHeadWriter();
	HeadReader getHeadReader();
		
	TITTOutputStream getOutputStream();
	TITTInputStream getInputStream();
	
	void close() throws Exception;
	void setTimeout(int timeout) throws Exception;
	
	boolean isClosed();
}
